<ul class="posts control">
    {{ range first 10 (where (where .Site.RegularPages.ByDate.Reverse "Type" "in" .Site.Params.mainSections ) "Params.hidden" "!=" true) }}
    <li><a class="no-break btn" href='{{ .RelPermalink }}'><i class="icon icon-post"></i> {{- .Title -}}</a></li>
    {{ end }}
</ul>
